<template>
  <div class="item-card" :style="{background: color}">
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    color: {
      type: String,
      default: "#fafbfc"
    }
  }
};
</script>

<style lang="scss" scoped>
.item-card {
  background: #fafbfc;
  border: 1px solid #e6eaee;
  border-radius: 8px;
  overflow: hidden;
}
</style>
